package com.lingjtx.iot.tsl.model;

import java.util.List;

public class BitSpecItem {

    private String identifier;
    private String name;

    // 单个 bit
    private Integer bit;

    // 多个 bit 组合
    private List<Integer> bits;

    private List<BitValueMapping> values;

    private String desc; // 示例：0-待机；1-启动；2-暂停；3-错误

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBit() {
        return bit;
    }

    public void setBit(Integer bit) {
        this.bit = bit;
    }

    public List<Integer> getBits() {
        return bits;
    }

    public void setBits(List<Integer> bits) {
        this.bits = bits;
    }

    public List<BitValueMapping> getValues() {
        return values;
    }

    public void setValues(List<BitValueMapping> values) {
        this.values = values;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
